package org.jgs1904.service.impl;

import java.sql.SQLException;

import org.jgs1904.dao.CommentDao;
import org.jgs1904.dao.impl.CommentDaoImpl;
import org.jgs1904.entity.Comment;
import org.jgs1904.service.CommentService;

/**
 * 	评论业务类
 * @author junki
 * @date 2020年3月26日
 */
public class CommentServiceImpl implements CommentService {

	private CommentDao commentDao = new CommentDaoImpl();
	
	public Comment add(Comment comment) throws SQLException {
		return commentDao.insert(comment);
	}

}
